import request from '@utils/request';
import { service } from '@utils/service'

export async function getAppConfig() {
  return request(`${service.SERVICE_ROOT}/appConfig/detail`,{
    method: 'POST',
  })
}

export async function saveAppConfig(params:any) {
  return request(`${service.SERVICE_ROOT}/appConfig/save`,{
    method: 'POST',
    data: {
      ...params
    },
  });
}
